package dongshi.daddy.zhengxi;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;

class OOM11 {
	private static List<User> list = new ArrayList<>();

	static class User{
		private String name;
		private int age;

		public User(String name, int age){
			this.name = name;
			this.age = age;
		}

	}

	public static void main(String[] args) throws InterruptedException {
		for (int i = 0; i < Integer.MAX_VALUE; i++) {
		     Thread.sleep(5);
			StringBuffer sb = new StringBuffer();
			IntStream.rangeClosed(1, 300).forEach(v -> {
				sb.append(v);
			});
			String sbStr = sb.toString();
			list.add(new User(sbStr + i, i));
		}
	}
}